package otaku.gateway.core;

import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.FullHttpResponse;
import otaku.gateway.config.ServerConfig;

import java.net.InetSocketAddress;

public interface DownStreamClient {

    void connect(InetSocketAddress remoteAddress);

    void sendRequest(FullHttpRequest request);

    void replyToUpstream(FullHttpResponse response);

    void stop();
}
